<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>EquTemper: MainWindow Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="$relpath<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="$relpath<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>/search.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">EquTemper&#160;<span id="projectnumber">1.01</span></div>
   <div id="projectbrief">An equation editor.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<script type="text/javascript">
function hasClass(ele,cls) {
  return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}

function addClass(ele,cls) {
  if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}

function removeClass(ele,cls) {
  if (hasClass(ele,cls)) {
    var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
    ele.className=ele.className.replace(reg,' ');
  }
}

function toggleVisibility(linkObj) {
 var base = linkObj.getAttribute('id');
 var summary = document.getElementById(base + '-summary');
 var content = document.getElementById(base + '-content');
 var trigger = document.getElementById(base + '-trigger');
 if ( hasClass(linkObj,'closed') ) {
   summary.style.display = 'none';
   content.style.display = 'block';
   trigger.src = 'open.png';
   removeClass(linkObj,'closed');
   addClass(linkObj,'opened');
 } else if ( hasClass(linkObj,'opened') ) {
   summary.style.display = 'block';
   content.style.display = 'none';
   trigger.src = 'closed.png';
   removeClass(linkObj,'opened');
   addClass(linkObj,'closed');
 }
 return false;
}
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_main_window.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">MainWindow Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="MainWindow" -->
<p>form that represents main GUI component  
 <a href="class_main_window.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="mainwindow_8h_source.html">mainwindow.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png"/> Collaboration diagram for MainWindow:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="class_main_window__coll__graph.png" border="0" usemap="#_main_window_coll__map" alt="Collaboration graph"/></div>
<map name="_main_window_coll__map" id="_main_window_coll__map">
<area shape="rect" id="node2" href="class_m_w___sheet_slots.html" title="manages signals that are intended to reach the active sheet in current MDI document." alt="" coords="5,5,123,35"/><area shape="rect" id="node4" href="class_m_w___basic_slots.html" title="groups event handlers that are most likely to be used by any simple GUI application" alt="" coords="147,5,261,35"/><area shape="rect" id="node6" href="class_m_w___ui_templ.html" title="encapsulates the look and feel of a GUI" alt="" coords="285,5,387,35"/><area shape="rect" id="node8" href="class_m_w___basic_mdi.html" title="logic unit responsible for providing common functionality for using Multiple Document Interface in Ma..." alt="" coords="411,5,517,35"/><area shape="rect" id="node10" href="class_m_w___recent_files.html" title="List of recent files provided by a logical unit." alt="" coords="541,5,664,35"/><area shape="rect" id="node12" href="class_m_w___style_sheets.html" title="allows the customisation of the apparence of widgets" alt="" coords="688,5,811,35"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_main_window-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db">MainWindow</a> (QWidget *parent=0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">constructor;  <a href="#a8b244be8b7b7db1b08de2a2acb9409db"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ad68dd34f5db708d91e636559dea6dae1">~MainWindow</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">destructor;  <a href="#ad68dd34f5db708d91e636559dea6dae1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMenu *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#af6cf5b10298e4f118c5a1802d5970ddd">menuWin</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">the pointer to window menu  <a href="#af6cf5b10298e4f118c5a1802d5970ddd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#acacaa70bd83d119e313cb460b96ce078">docsOpened</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">number of opened documents at this time  <a href="#acacaa70bd83d119e313cb460b96ce078"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_mdi_child.html">MdiChild</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ab0526819ffdc1960d8dbbfd85e1af2d2">docByIndex</a> (int doc_idx)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">document having the index doc_idx  <a href="#ab0526819ffdc1960d8dbbfd85e1af2d2"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_m_w___basic_slots.html">MW_BasicSlots</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#adf7a680bfba508be1b0c840dca6736e9">c_bs_slot</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_m_w___recent_files.html">MW_RecentFiles</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#acc24c680bbf50679c9ce30fd023204e7">c_r_files</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_m_w___ui_templ.html">MW_UiTempl</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a1b8ae808516f119a06a59f32d866a310">c_ui_tpl</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_m_w___style_sheets.html">MW_StyleSheets</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a5990aa3511e3a978e2454c7a51f3f615">c_ssheet</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_m_w___basic_mdi.html">MW_BasicMdi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a44b0027132dbbaecbc6278c596587ade">c_bs_mdi</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_m_w___sheet_slots.html">MW_SheetSlots</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#affac35aad9d07b3f9c6e6cfef5d433b2">c_sheet</a></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a43c24342f5a47a913b1bf5c48cc92e97">_open</a> (QString s_file)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">actual open function used by recent files and regular open  <a href="#a43c24342f5a47a913b1bf5c48cc92e97"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a4e20a4a065fbb0e4d3532a45a0a91425">closeEvent</a> (QCloseEvent *event)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a7a49b221f5958feabb0efe90d5718842">createDockWindows</a> (void)</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Ui::MainWindow *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a35466a70ed47252a0191168126a352a5">ui</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">GUI components.  <a href="#a35466a70ed47252a0191168126a352a5"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a6fac185d7cbdea5b6b756cf640ac3778">MW_BasicSlots</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ad0fb1904c3ffc21ed6e48adc332c51e5">MW_RecentFiles</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ae9e5d170820f4ab2118da8b59643f44a">MW_UiTempl</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a6382da0e943e6053910b11df01a75561">MW_StyleSheets</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a683856ede8f5d4f3de2bd4945cdaaec1">MW_BasicMdi</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a389ec9d9d6c4799cdac699cbdd8591f7">MW_SheetSlots</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>form that represents main GUI component </p>
<p>This class is the one instantiated by <a class="el" href="main_8cc.html#a0ddf1224851353fc92bfbff6f499fa97">main()</a> function. It is divided in several logical units for reusability and maintainability. These logical units are classes that start with <b>MW_</b> and are embedded in this class, hawing names that start with <b>c_</b> (for component). Each unit has an <b>init</b> function that needs to be called from the constructor.</p>
<h2><a class="anchor" id="basic_slots"></a>
Basic slots [generic]</h2>
<p>The class that defines this logical unit is <a class="el" href="class_m_w___basic_slots.html" title="groups event handlers that are most likely to be used by any simple GUI application">MW_BasicSlots</a>. It is embedded in <a class="el" href="class_main_window.html" title="form that represents main GUI component">MainWindow</a> with <a class="el" href="class_main_window.html#adf7a680bfba508be1b0c840dca6736e9">MainWindow::c_bs_slot</a> variable. Grouped here are some of the event handlers that are most likely to be used by any simple GUI application.</p>
<p>Initialization function binds actions contained in the <a class="el" href="class_main_window.html" title="form that represents main GUI component">MainWindow</a> with internal slots. The actions that are targeted include the new document ones (new and open), save document (current, all, current as a different file), print (actual print, set-up and preview), basic editing (undo and redo, cut copy, paste, delete, select all), changes in the layout direction and help (main help, about, about Qt and contextual help). Also, there is a slot that listens to changes in selection state (present or not) and changes the managed GUI elements accordingly.</p>
<h2><a class="anchor" id="recent_files"></a>
Recent files [generic]</h2>
<p>The feature is implemented using <a class="el" href="class_m_w___recent_files.html" title="List of recent files provided by a logical unit.">MW_RecentFiles</a> class. Basically, it is able to load a previously saved list of files and to show it in designated menu during the <a class="el" href="class_m_w___recent_files.html#abad690360fb85dd159fe4461a28c53c3" title="make first steps to make this work">MW_RecentFiles::initRecentFiles()</a> call.</p>
<p>Later, files may be added to the list with <a class="el" href="class_m_w___recent_files.html#aa872203d5b5a68b291f123faee25a396" title="places provided file to the top of recent files list">MW_RecentFiles::addRecentFile()</a>. As the initialization function binds an internal slot to the menu items representing a recent file, the unit will call <a class="el" href="class_main_window.html#a43c24342f5a47a913b1bf5c48cc92e97" title="actual open function used by recent files and regular open">MainWindow::_open()</a> whenever the user decides to open one.</p>
<h2><a class="anchor" id="ui_templates"></a>
User interface templates [generic]</h2>
<p>Class <a class="el" href="class_m_w___ui_templ.html" title="encapsulates the look and feel of a GUI">MW_UiTempl</a> exposes a feature of Qt implemented mainly by the <a href="http://doc.qt.nokia.com/latest/qstyle.html">QStyle</a> class. This class "encapsulates the look and feel of a GUI", such as Windows, Mac, Motif. While the implementation in Qt allows for plug-in like use, this implementation using <a class="el" href="class_m_w___ui_templ.html" title="encapsulates the look and feel of a GUI">MW_UiTempl</a> does not exposes this to the user. Instead, it will present a list of "templates" that underlying library reports are available.</p>
<p>The user can choose a menu entry and, as a result, the entire interface is updated, showing choosen templated applied over existing controls. The command line switch <b>style</b> is not implemented and wil not work.</p>
<h2><a class="anchor" id="style_sheets"></a>
Style sheets [generic]</h2>
<p>Style sheets are another implementation of a <a href="http://doc.qt.nokia.com/latest/stylesheet.html">Qt feature</a> that allows the customisation of "the apparence of widgets in addition to what is already possible by subclassing <a href="http://doc.qt.nokia.com/latest/qstyle.html">QStyle</a> (partially exposed in the <a class="el" href="class_main_window.html#ui_templates">User interface templates</a>).</p>
<p>The logical unit that is responsible for style sheet management in <a class="el" href="class_main_window.html" title="form that represents main GUI component">MainWindow</a> is the <a class="el" href="class_m_w___style_sheets.html" title="allows the customisation of the apparence of widgets">MW_StyleSheets</a> class. It is instantiated in the <a class="el" href="class_main_window.html#a5990aa3511e3a978e2454c7a51f3f615">MainWindow::c_ssheet</a> member.</p>
<p>Styles sheets are textual specifications that can be set by browsing and loading a file by the user or by choosing a file already present in the plug-ins folder.</p>
<p>To understand the concepts and implementation of the style sheets, please read <a href="http://doc.qt.nokia.com/latest/stylesheet.html">Qt specification</a>.</p>
<h2><a class="anchor" id="basic_mdi"></a>
Basic MDI [generic]</h2>
<p>Member <a class="el" href="class_main_window.html#a44b0027132dbbaecbc6278c596587ade">MainWindow::c_bs_mdi</a> instantiates the <a class="el" href="class_m_w___basic_mdi.html" title="logic unit responsible for providing common functionality for using Multiple Document Interface in Ma...">MW_BasicMdi</a> class, providing some common functionality for using Multiple Document Interface in <a class="el" href="class_main_window.html" title="form that represents main GUI component">MainWindow</a>.</p>
<p>The instance will connect itself during the <a class="el" href="class_m_w___basic_mdi.html#a38e97d2a1292a4cce28abbdbb795ceab" title="connects the actions with designed slots">MW_BasicMdi::initBasicMdi</a> to menus ussualy located in <b>Window</b> menu, allowing standard arrangements (tile, cascade), navigation (previous, next) and document close (one or all).</p>
<p>Active MDI document is also tracked and made available to <a class="el" href="class_main_window.html" title="form that represents main GUI component">MainWindow</a>, thus allowing certain GUI elements to be enabled only when a document is present. Active document is also evidentiated in the list of opened documents, also hosted usually in <b>Window</b> menu.</p>
<p><a class="el" href="class_m_w___basic_mdi.html#a352c93147f14a1d74022dc8b6361fc2a" title="finds associated document for a given file">MW_BasicMdi::findMdiChild()</a> may be used to find the document that has a particular title.</p>
<h2><a class="anchor" id="spec_sheet"></a>
Sheet slots [specific]</h2>
<p>This logical unit only manages signals that are intended to reach the active sheet in current MDI document. The slots inside manage either the status of one or more <a class="el" href="class_e_t_sheet_view.html" title="Widget capable of displaying an ETSheet content.">ETSheetView</a> instances (split, remove split, zoom, rotate) or of the sheet that is associated with that MDI document. The functionality of this class shall not overlap with already defined logical units (like <a class="el" href="class_main_window.html#basic_slots">Basic slots</a>)</p>
<p>The current <a class="el" href="class_e_t_sheet_view.html" title="Widget capable of displaying an ETSheet content.">ETSheetView</a> may be splitted horizontally or vertically. Also, current split may be toogled between horizontal and vertical, or it may be deleted altogether. Functionality to remove all splits, leaving a single <a class="el" href="class_e_t_sheet_view.html" title="Widget capable of displaying an ETSheet content.">ETSheetView</a> in MDI document is also provided.</p>
<p>The relation between current <a class="el" href="class_e_t_sheet_view.html" title="Widget capable of displaying an ETSheet content.">ETSheetView</a> and associated <a class="el" href="class_e_t_sheet.html" title="Class representing logical root for all elements contained in a document (sheet)">ETSheet</a> may be altered by either zoomin (in or out) or by rotating (clock-wise or counterclock-wise). </p>

<p>Definition at line <a class="el" href="mainwindow_8h_source.html#l00175">175</a> of file <a class="el" href="mainwindow_8h_source.html">mainwindow.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a8b244be8b7b7db1b08de2a2acb9409db"></a><!-- doxytag: member="MainWindow::MainWindow" ref="a8b244be8b7b7db1b08de2a2acb9409db" args="(QWidget *parent=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MainWindow::MainWindow </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>constructor; </p>

<p>Definition at line <a class="el" href="mainwindow_8cc_source.html#l00076">76</a> of file <a class="el" href="mainwindow_8cc_source.html">mainwindow.cc</a>.</p>

</div>
</div>
<a class="anchor" id="ad68dd34f5db708d91e636559dea6dae1"></a><!-- doxytag: member="MainWindow::~MainWindow" ref="ad68dd34f5db708d91e636559dea6dae1" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MainWindow::~MainWindow </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>destructor; </p>

<p>Definition at line <a class="el" href="mainwindow_8cc_source.html#l00133">133</a> of file <a class="el" href="mainwindow_8cc_source.html">mainwindow.cc</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a43c24342f5a47a913b1bf5c48cc92e97"></a><!-- doxytag: member="MainWindow::_open" ref="a43c24342f5a47a913b1bf5c48cc92e97" args="(QString s_file)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool MainWindow::_open </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>s_file</em></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>actual open function used by recent files and regular open </p>

<p>Definition at line <a class="el" href="mainwindow_8cc_source.html#l00142">142</a> of file <a class="el" href="mainwindow_8cc_source.html">mainwindow.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a4e20a4a065fbb0e4d3532a45a0a91425"></a><!-- doxytag: member="MainWindow::closeEvent" ref="a4e20a4a065fbb0e4d3532a45a0a91425" args="(QCloseEvent *event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MainWindow::closeEvent </td>
          <td>(</td>
          <td class="paramtype">QCloseEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="mainwindow_8cc_source.html#l00192">192</a> of file <a class="el" href="mainwindow_8cc_source.html">mainwindow.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a7a49b221f5958feabb0efe90d5718842"></a><!-- doxytag: member="MainWindow::createDockWindows" ref="a7a49b221f5958feabb0efe90d5718842" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MainWindow::createDockWindows </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="mainwindow_8cc_source.html#l00199">199</a> of file <a class="el" href="mainwindow_8cc_source.html">mainwindow.cc</a>.</p>

</div>
</div>
<a class="anchor" id="ab0526819ffdc1960d8dbbfd85e1af2d2"></a><!-- doxytag: member="MainWindow::docByIndex" ref="ab0526819ffdc1960d8dbbfd85e1af2d2" args="(int doc_idx)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_mdi_child.html">MdiChild</a> * MainWindow::docByIndex </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>doc_idx</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>document having the index doc_idx </p>

<p>Definition at line <a class="el" href="mainwindow_8cc_source.html#l00182">182</a> of file <a class="el" href="mainwindow_8cc_source.html">mainwindow.cc</a>.</p>

</div>
</div>
<a class="anchor" id="acacaa70bd83d119e313cb460b96ce078"></a><!-- doxytag: member="MainWindow::docsOpened" ref="acacaa70bd83d119e313cb460b96ce078" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int MainWindow::docsOpened </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>number of opened documents at this time </p>

<p>Definition at line <a class="el" href="mainwindow_8cc_source.html#l00175">175</a> of file <a class="el" href="mainwindow_8cc_source.html">mainwindow.cc</a>.</p>

</div>
</div>
<a class="anchor" id="af6cf5b10298e4f118c5a1802d5970ddd"></a><!-- doxytag: member="MainWindow::menuWin" ref="af6cf5b10298e4f118c5a1802d5970ddd" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QMenu * MainWindow::menuWin </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>the pointer to window menu </p>

<p>Definition at line <a class="el" href="mainwindow_8cc_source.html#l00168">168</a> of file <a class="el" href="mainwindow_8cc_source.html">mainwindow.cc</a>.</p>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a683856ede8f5d4f3de2bd4945cdaaec1"></a><!-- doxytag: member="MainWindow::MW_BasicMdi" ref="a683856ede8f5d4f3de2bd4945cdaaec1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="class_m_w___basic_mdi.html">MW_BasicMdi</a><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="mainwindow_8h_source.html#l00189">189</a> of file <a class="el" href="mainwindow_8h_source.html">mainwindow.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6fac185d7cbdea5b6b756cf640ac3778"></a><!-- doxytag: member="MainWindow::MW_BasicSlots" ref="a6fac185d7cbdea5b6b756cf640ac3778" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="class_m_w___basic_slots.html">MW_BasicSlots</a><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="mainwindow_8h_source.html#l00185">185</a> of file <a class="el" href="mainwindow_8h_source.html">mainwindow.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad0fb1904c3ffc21ed6e48adc332c51e5"></a><!-- doxytag: member="MainWindow::MW_RecentFiles" ref="ad0fb1904c3ffc21ed6e48adc332c51e5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="class_m_w___recent_files.html">MW_RecentFiles</a><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="mainwindow_8h_source.html#l00186">186</a> of file <a class="el" href="mainwindow_8h_source.html">mainwindow.h</a>.</p>

</div>
</div>
<a class="anchor" id="a389ec9d9d6c4799cdac699cbdd8591f7"></a><!-- doxytag: member="MainWindow::MW_SheetSlots" ref="a389ec9d9d6c4799cdac699cbdd8591f7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="class_m_w___sheet_slots.html">MW_SheetSlots</a><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="mainwindow_8h_source.html#l00191">191</a> of file <a class="el" href="mainwindow_8h_source.html">mainwindow.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6382da0e943e6053910b11df01a75561"></a><!-- doxytag: member="MainWindow::MW_StyleSheets" ref="a6382da0e943e6053910b11df01a75561" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="class_m_w___style_sheets.html">MW_StyleSheets</a><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="mainwindow_8h_source.html#l00188">188</a> of file <a class="el" href="mainwindow_8h_source.html">mainwindow.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae9e5d170820f4ab2118da8b59643f44a"></a><!-- doxytag: member="MainWindow::MW_UiTempl" ref="ae9e5d170820f4ab2118da8b59643f44a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="class_m_w___ui_templ.html">MW_UiTempl</a><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="mainwindow_8h_source.html#l00187">187</a> of file <a class="el" href="mainwindow_8h_source.html">mainwindow.h</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a44b0027132dbbaecbc6278c596587ade"></a><!-- doxytag: member="MainWindow::c_bs_mdi" ref="a44b0027132dbbaecbc6278c596587ade" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_m_w___basic_mdi.html">MW_BasicMdi</a> <a class="el" href="class_main_window.html#a44b0027132dbbaecbc6278c596587ade">MainWindow::c_bs_mdi</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="mainwindow_8h_source.html#l00207">207</a> of file <a class="el" href="mainwindow_8h_source.html">mainwindow.h</a>.</p>

</div>
</div>
<a class="anchor" id="adf7a680bfba508be1b0c840dca6736e9"></a><!-- doxytag: member="MainWindow::c_bs_slot" ref="adf7a680bfba508be1b0c840dca6736e9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_m_w___basic_slots.html">MW_BasicSlots</a> <a class="el" href="class_main_window.html#adf7a680bfba508be1b0c840dca6736e9">MainWindow::c_bs_slot</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="mainwindow_8h_source.html#l00203">203</a> of file <a class="el" href="mainwindow_8h_source.html">mainwindow.h</a>.</p>

</div>
</div>
<a class="anchor" id="acc24c680bbf50679c9ce30fd023204e7"></a><!-- doxytag: member="MainWindow::c_r_files" ref="acc24c680bbf50679c9ce30fd023204e7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_m_w___recent_files.html">MW_RecentFiles</a> <a class="el" href="class_main_window.html#acc24c680bbf50679c9ce30fd023204e7">MainWindow::c_r_files</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="mainwindow_8h_source.html#l00204">204</a> of file <a class="el" href="mainwindow_8h_source.html">mainwindow.h</a>.</p>

</div>
</div>
<a class="anchor" id="affac35aad9d07b3f9c6e6cfef5d433b2"></a><!-- doxytag: member="MainWindow::c_sheet" ref="affac35aad9d07b3f9c6e6cfef5d433b2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_m_w___sheet_slots.html">MW_SheetSlots</a> <a class="el" href="class_main_window.html#affac35aad9d07b3f9c6e6cfef5d433b2">MainWindow::c_sheet</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="mainwindow_8h_source.html#l00210">210</a> of file <a class="el" href="mainwindow_8h_source.html">mainwindow.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5990aa3511e3a978e2454c7a51f3f615"></a><!-- doxytag: member="MainWindow::c_ssheet" ref="a5990aa3511e3a978e2454c7a51f3f615" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_m_w___style_sheets.html">MW_StyleSheets</a> <a class="el" href="class_main_window.html#a5990aa3511e3a978e2454c7a51f3f615">MainWindow::c_ssheet</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="mainwindow_8h_source.html#l00206">206</a> of file <a class="el" href="mainwindow_8h_source.html">mainwindow.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1b8ae808516f119a06a59f32d866a310"></a><!-- doxytag: member="MainWindow::c_ui_tpl" ref="a1b8ae808516f119a06a59f32d866a310" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_m_w___ui_templ.html">MW_UiTempl</a> <a class="el" href="class_main_window.html#a1b8ae808516f119a06a59f32d866a310">MainWindow::c_ui_tpl</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="mainwindow_8h_source.html#l00205">205</a> of file <a class="el" href="mainwindow_8h_source.html">mainwindow.h</a>.</p>

</div>
</div>
<a class="anchor" id="a35466a70ed47252a0191168126a352a5"></a><!-- doxytag: member="MainWindow::ui" ref="a35466a70ed47252a0191168126a352a5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Ui::MainWindow* <a class="el" href="class_main_window.html#a35466a70ed47252a0191168126a352a5">MainWindow::ui</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>GUI components. </p>

<p>Definition at line <a class="el" href="mainwindow_8h_source.html#l00215">215</a> of file <a class="el" href="mainwindow_8h_source.html">mainwindow.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="mainwindow_8h_source.html">mainwindow.h</a></li>
<li><a class="el" href="mainwindow_8cc_source.html">mainwindow.cc</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_main_window.html">MainWindow</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

    <li class="footer">Generated on Sun Oct 23 2011 22:06:50 for EquTemper by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
   </ul>
 </div>
</body>
</html>
